package ee.karileet.productcatalogue.service;
import ee.karileet.productcatalogue.model.Manufactor;

/**
 * @author Markus Karileet
 * @version 1.0
 * @created 29-nov-2013 16:09:21
 */
public interface IManufactor {

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public boolean addManufactor(Manufactor manufactor);

	/**
	 * 
	 * @param manufactorId    manufactorId
	 * @throws Exception 
	 */
	public Manufactor getManufactor(int manufactorId) throws Exception;

	public java.util.Set<Manufactor> listManufactors();

	/**
	 * 
	 * @param manufactor    manufactor
	 * @throws Exception 
	 */
	public void removeManufactor(int manufactorId) throws Exception;

	/**
	 * 
	 * @param manufactor    manufactor
	 */
	public boolean updateManufactor(Manufactor manufactor);

}